<?php
namespace app\admin\controller;

use app\common\entity\BackResult;
use app\common\service\WechatUserService;
use app\Request;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/10/15 0015
 * Time: 19:52
 */
class WechatUser extends Base{


    public function index(Request $request){
        $page = $request->param("page",1);
        $pageSize = $request->param('pageSize',10);
        $service = new WechatUserService();
        $data = $service->getList($page,$pageSize,[]);
        return BackResult::success($data);
    }

    public function create(){

    }

    public function update(){

    }

    public function remove(){

    }
}